package com.qf.mapper;

import com.qf.entity.Room;
import com.qf.entity.RoomDTO;
import com.qf.entity.RoomVO;

import java.util.List;

public interface RoomMapper {
    List<Room> findAll(RoomDTO roomDTO);

    boolean delRoomById(Integer id);

    boolean delRoomByIds(Integer[] ids);

    boolean addRoom(RoomDTO roomDTO);

    boolean updateRoom(RoomDTO roomDTO);

    List<RoomVO> getRoomType();

    void insertBatch(List<Room> cachedDataList);
}
